include(${CMAKE_SOURCE_DIR}/UnifyPackageNameFormat.cmake)
include_directories(${mU_HEADER_DIR})
AUX_SOURCE_DIRECTORY(. STREAM_SRCS)
add_library(Stream ${PACKAGE_LIB_TYPE} ${STREAM_SRCS})
set_target_properties(Stream PROPERTIES
                        COMPILE_DEFINITIONS "STREAM_EXPORTS")
                        
if(WIN32)
    set(SOCK_LIB wsock32 ws2_32)
else()
    set(SOCK_LIB "")
endif()

target_link_libraries(Stream Kernel gmp ${SOCK_LIB} ${Boost_LIBRARIES})

